import { ExecutionContext, UnauthorizedException } from '@nestjs/common';
import { AuthGuard } from '@nestjs/passport';
import { ExtractJwt } from 'passport-jwt';
import { ConfigService } from '@nestjs/config';
import { ConfigEnum } from '../enum/config.enum';

export class JwtGuard extends AuthGuard('jwt') {
  constructor() {
    super();
  }
}

// 装饰器
// @JwtGuard()
